
import { ElLoading } from 'element-plus'
let loadingInstance = {}
  export const showLoading = () => {
        let option = {}
        let loadDom = document.getElementById('gva-base-load-dom')
        option.target = loadDom
      loadingInstance = ElLoading.service(option)

  }
  export const closeLoading = () => {
      loadingInstance && loadingInstance.close()

  }
